package net.dopan.pigframe.core.base.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import lombok.Data;

/**
 * @Package: net.dopan.pigframe.core.base.entity
 * @Title: BaseEntityWithId
 * @Description: 含id的基本Entity
 * @author: 刘宽
 * @date: 2018/8/20 16:15
 */
@Data
public abstract class BaseEntityWithId<T extends Model> extends BaseEntity<T> {

    /**
     * 表id
     */
    @TableId
    protected Long id;

}
